From: Jan Beulich Date: Mon, 12 Jan 2015 14:44:06 +0000 (+0100) Subject: extend list of sections convertible to .init.* ones in init-only objects X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~3944 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=c972bf4835c2c7d34c763ebe7c3023b6fd3d6177;p=xen.git extend list of sections convertible to .init.* ones in init-only objects In particular the .rodata.str2 case is relevant for the EFI boot code (moving around 3k from permanent to init-time sections). Signed-off-by: Jan Beulich Acked-by: Ian Campbell --- diff --git a/xen/Rules.mk b/xen/Rules.mk index a97405c653..feb08d689a 100644 --- a/xen/Rules.mk +++ b/xen/Rules.mk @@ -170,7 +170,10 @@ _clean_%/: FORCE %.o: %.S Makefile $(CC) $(AFLAGS) -c $< -o $@ -SPECIAL_DATA_SECTIONS := rodata $(foreach n,1 2 4 8,rodata.str1.$(n)) \ +SPECIAL_DATA_SECTIONS := rodata $(foreach a,1 2 4 8 16, \ + $(foreach w,1 2 4, \ + rodata.str$(w).$(a)) \ + rodata.cst$(a)) \ $(foreach r,rel rel.ro,data.$(r).local) $(filter %.init.o,$(obj-y) $(obj-bin-y) $(extra-y)): %.init.o: %.o Makefile